package com.front.service;

import com.aaa.vo.PagePlugin;
import com.front.entity.IntegralDetail;
import com.front.entity.UserDetail;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface IntegralDetailService extends IService<IntegralDetail> {
    /**
     * 分页查询
     *
     * @param pagePlugin 筛选条件
     * @return 查询结果
     */
    IPage<IntegralDetail> queryPage(PagePlugin<IntegralDetail> pagePlugin);
    /**
     * 根据用户id和门店id查询余额的详细信息
     * @param userId
     * @param storeId
     * @return
     */
    List<UserDetail> queryUserStore(@Param("userId") Integer userId, @Param("storeId") Integer storeId);
}

